package com.liuqi09.po;

/**
 * @author LiuQi
 * @create 2025-10-20-16:27
 */

import lombok.*;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class User {

    private Integer id;
    private String username;
    private String password;
    private String email;
    private List<Playlist> playlists;

    public User(Integer id, String username, String password, String email) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.email = email;
    }
}